<template>
    <div class="layout">
        <div class="left">
            <slot name="left">
            </slot>
        </div>
        <div class="right">
            <slot name="right">
                <Category />
                <Callme class="mt32"/>
            </slot>
        </div>
    </div>
</template>

<script setup>
import Category from '@/components/Category.vue';
import Callme from '@/components/Callme.vue';

</script>

<style lang="less" scoped>
.layout{
    padding: 26px 104px 48px 104px;
    background-color: #F9FAFB;
    display: flex;
    min-height: calc(100vh - 210px);
    overflow: hidden;
    .left{
        flex: 1;
    margin-right: 32px;
    }
    .right{
        flex: 0 0 390px;
        position: sticky;
        top: 100px;
        .mt32{
            margin-top: 32px;
        }
    }
    @media screen and (max-width: 1200px) {
    .right{
      display: none;
    }
  }
}
</style>